package com.xiaoxiang.mall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoxiang.mall.entity.ShoppingCart;
import com.xiaoxiang.mall.result.ShoppingCartResult;

import java.util.List;

/**
 * (ShoppingCart)表数据库访问层
 *
 * @author haha
 * @since 2022-03-29 13:23:07
 */
public interface ShoppingCartDao extends BaseMapper<ShoppingCart> {

    List<ShoppingCartResult> getAllByUserId(Long userId);
}
